<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>超链接伪类</title>
    <style>

       
        /* 未访问过的链接 */
        a:link{
            color: orange;
        }

        /* 访问过的链接 */
        a:visited{
            color: skyblue;
        }

        /* 鼠标移入的链接 */
        a:hover{
            color: purple;
        }

        /* 鼠标点击的链接 */
        a:active{
            color: yellowgreen;
        }

         

         

       
    </style>
</head>
<body>

    <a href="https://www.baidu.com">去baidu</a>
    
    <br><br>

    <a href="https://www.baidu123.com">未访问过的链接</a>

</body>
</html>